package com.zyf.service;

import com.zyf.pojo.Register;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyf.vo.NumberVo;
import com.zyf.vo.RegisterVo;

import java.util.Map;

/**
* @author zhenyf
* @description 针对表【register】的数据库操作Service
* @createDate 2024-10-15 22:16:21
*/
public interface RegisterService extends IService<Register> {

    /*实现挂号过程中病历号，初始化，当前号数据的产生*/
    public NumberVo initRegisterService();

    /*实现某个医生当前需要接诊的病人分页查询*/
    public Map<String,Object> queryRegisterListService(
            Integer pageNum, Integer pageSize, RegisterVo registerVo);

    /*统计某个医生，当前已经接诊人数*/
    public Integer queryRegisterCountService(RegisterVo registerVo);

    /*实现某个医生已接诊患者分页查询*/
    public Map<String,Object> queryVisitedListService(Integer pageNum, Integer pageSize
            , RegisterVo registerVo);


    /*查询看诊结束，需要取药患者列表*/
    public Map<String, Object> queryDrugRegListService(Integer pageNum, Integer pageSize, RegisterVo registerVo);
}
